package com.binyouwei.calculator.ui.calculator

object CalculatorNativeLib {

    // First step: Used to load the 'ndk' library on application startup.
    init {
        System.loadLibrary("ndk")
    }

    /**
     * A native method that is implemented by the 'ndk' native library,
     * which is packaged with this application.
     */

    external fun zero(): String

    external fun one(): String

    external fun two(): String

    external fun three(): String

    external fun four(): String

    external fun five(): String

    external fun six(): String

    external fun seven(): String

    external fun eight(): String

    external fun nine(): String

    external fun decimalPoint(): String

    external fun percentage(): String

    external fun add(): String

    external fun subtract(): String

    external fun multiplication(): String

    external fun division(): String

    external fun delete(): String

    external fun equals(): String

    external fun memoryClear()

    external fun memoryPlus()

    external fun memoryMinus()

    external fun memoryRecall(): String

    external fun clear(): String

}